<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
   
  </div>
</template>

<script>
import axios from 'axios';
export default {
  name: 'HelloWorld',
  props: {
    msg: String
  },
  created(){
    let url="http://localhost:8080/data/cityinfo/101190401.html";
    axios.get(url).then((res)=>{
      console.log(res);
    }).catch((error)=>{
      console.log(error);
    })
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
